package com.ruoyi.system.service.alipayservice;

import com.ruoyi.system.domain.alipay.AliPayVO;

import javax.servlet.http.HttpServletRequest;
import java.math.BigDecimal;
import java.util.Map;

public interface AlipayService {
    /**
     * @Description: 支付请求
     * */
    public Map<String, String> payRequest(String payType, String outTradeNo, BigDecimal totalAmount)throws Exception;
    /**
     * @Description: 支付宝支付回调
     */
    public AliPayVO aliPayCallBack(HttpServletRequest request) throws Exception;
    /**
     * @Description: 支付宝订单支付回调业务处理
     */
    public void aliPayOrderCallBack(AliPayVO aliPayVo) throws Exception;
}
